package com.bifang.module.file.common.vo.fileFieldParam;

import com.bifang.assistant.common.vo.BaseVO;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 文件元数据字段参数配置表VO
 *
 * @author xyh
 * @since 2023-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "FileFieldParamVO", title = "文件元数据字段参数配置表VO", description = "文件元数据字段参数配置表实体类")
public class FileFieldParamVO extends BaseVO {

    @Schema(name = "fieldId", title = "文件附加字段id")
    private Long fieldId;

    @Schema(name = "fieldType", title = "字段类型")
    private String fieldType;

    @Schema(name = "fieldTypeName", title = "字段类型名称")
    private String fieldTypeName;

    @Schema(name = "fieldKey", title = "字段标识")
    private String fieldKey;

    @Schema(name = "fieldName", title = "字段中文")
    private String fieldName;

    @Schema(name = "status", title = "有效状态 0 无效 1有效")
    private String status;

    @Schema(name = "statusName", title = "有效状态名称")
    private String statusName;

    @Schema(name = "createName", title = "创建人")
    private String createName;

    @Schema(name = "createFullName", title = "创建人中文名称")
    private String createFullName;

    @Schema(name = "createTime", title = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Schema(name = "updateName", title = "更新人")
    private String updateName;

    @Schema(name = "updateFullName", title = "更新人中文名称")
    private String updateFullName;

    @Schema(name = "updateTime", title = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @Schema(name = "del", title = "逻辑删除标志 0 未删除 1 删除")
    private String del;
}
